package org.example.service.impl;

import org.example.domain.CarFile;
import org.example.mapper.CarFileMapper;
import org.example.service.CarFileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CarFileServiceImpl implements CarFileService {
    @Autowired
    CarFileMapper carFileMapper;
    @Override
    public List<CarFile> list() {
        return carFileMapper.list();
    }

    @Override
    public List<CarFile> lists() {
        return carFileMapper.lists();
    }

    @Override
    public void saveOrupdate(List<CarFile> fileList) {
        carFileMapper.saveOrupdate(fileList);
    }
}
